package com.lzk.user.mapper;

import com.lzk.basic.mapper.BaseMapper;
import com.lzk.user.domain.User;


public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询手机号
     * @param phone
     * @return
     */
    User loadByPhone(String phone);

    /**
     * 根据logininfoID查询user
     * @param id
     * @return
     */
    User loadByLogininfoId(Long id);
}
